package cn.edu.njpi;

import javafx.application.Application;
import javafx.stage.Stage;

/**
 * @author 朱宗辉
 * @version V1.0
 * @Package cn.edu.njpi
 * @date 2022/5/10 7:16 PM
 */
public class Main4 extends Application {
    public static void main(String[] args) {
        System.out.println("main = " + Thread.currentThread().getName());
        launch(args);
    }

    @Override
    public void start(Stage stage) throws Exception {
        System.out.println("start = " + Thread.currentThread().getName());

        stage.show();
    }

    @Override
    public void init() throws Exception {
        System.out.println("init = " + Thread.currentThread().getName());
    }

    @Override
    public void stop() throws Exception {
        System.out.println("stop = " + Thread.currentThread().getName());
    }
}
